﻿<div class="mainbody">
  <div class="navlink"><a href="#">控制面版</a> » 文章管理</div>
</div>


<div class="mainbody">
  <table style="width: 100%;" border="0" cellpadding="0" cellspacing="0">
    <tbody><tr>
        <td style="width: 150px;" valign="top">
          <%=render(:partial => "slider")%>         
        </td>
        
        <td style="width: 20px;" valign="top"></td>
        
        <td valign="top">
          <% form_for(:topic,@topic, :url => {:action => "create"}, :html => { :multipart => true }) do |form| -%> 
                              <%= render(:partial => "newform",:object => form) %>
                              <%= submit_tag "发表文章!",{:class=>"formbutton"} %>
               <% end %>
        </td>
      </tr>
  </tbody></table>
</div>


 



